<script type="text/javascript">
$(function(){
	kardexes.init();
});
</script>
<div id="containerDocumento">
	<div class="box ui-corner-all">
		<?php echo $form->create('Articulo',array('id'=>'kardexesForm','url'=>array('controller'=>'kardexes','action'=>'index'))); ?>
		<table class="tablaFormHeader"><?php echo
			'<tr>'
				.'<td>'.$form->label('Articulo.descripcion', __('Articulo', true)).' </td>'
				.'<td colspan="2">'.$form->input('Articulo.descripcion', array('label'=>false,'div'=>false, 'size'=>'60', 'class'=>'articuloKardexDescripcion text ui-widget-content required'))
						.$form->hidden('Articulo.id',array('label'=>false,'class'=>'required'))
				.' </td>'
				.'<td>&nbsp;&nbsp;&nbsp;&nbsp;'.$form->label('Articulo.almacen_id', __('Almacen', true)).' </td>'
				.'<td>'.$form->select('almacen_id',$almacenes,null,array('label'=>false,'class'=>'span-4','div'=>false,'error'=>false,'empty'=>__('Todos',true))).'</td>'
				
			.'</tr>'
			.'<tr>'
				.'<td>'.$form->label('Articulo.fecha', __('Fechas', true)).' </td>'
				.'<td colspan="3">&nbsp;De&nbsp;&nbsp;&nbsp;&nbsp;'.$form->input('Articulo.fecha_de', array('label'=>false,'div'=>false, 'size'=>'15', 'class'=>'required ui-widget-content'))
						.'&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;&nbsp;&nbsp;&nbsp;'.$form->input('Articulo.fecha_a', array('label'=>false,'div'=>false, 'size'=>'15', 'class'=>'required ui-widget-content'))
				.' </td>'
				.'<td class="text_right">'.$form->submit('Buscar', array('id'=>'bt_buscar','div'=>false)).'</td>'
			.'</tr>'; ?>
		</table>
		<?php echo $form->end(); ?>						
	</div>
	
	<div id="kardexes">
	</div>
</div>

